package dsredis

// Config Redis配置结构
type Config struct {
	Host         string `yaml:"host"`
	Port         int    `yaml:"port"`
	Password     string `yaml:"password"`
	DB           int    `yaml:"db"`
	PoolSize     int    `yaml:"pool_size"`
	MinIdleConns int    `yaml:"min_idle_conns"`
	Registry     struct {
		TTL       int    `yaml:"ttl"`
		KeyPrefix string `yaml:"key_prefix"`
	} `yaml:"registry"`
}
